package com.springboot.middleware.middleware_redisson.server.dto;

import java.io.Serializable;

/**
 * Integer userId<br/>
 * String bookNo
 */
public class BookRobDto implements Serializable {
    private Integer userId; // 用户id
    private String bookNo;  // 书籍编号

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getBookNo() {
        return bookNo;
    }

    public void setBookNo(String bookNo) {
        this.bookNo = bookNo;
    }

    @Override
    public String toString() {
        return "BookRobDto{" +
                "userId=" + userId +
                ", bookNo='" + bookNo + '\'' +
                '}';
    }
}
